package com.demo.javaDemo.nio;

import java.util.Scanner;

public class ScannerDemo {

	public static void main(String[] args) {
	        System.out.println("Hello World.");
	        Scanner sc = new Scanner(System.in);
	        String s1 = sc.nextLine();
	        System.out.println(s1);
	        sc.close();
	}

}
